package org.jeecg.modules.car.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.model.car.reqvo.CarDayReportReqVo;
import org.jeecg.model.car.respvo.CarDayReportRespVo;
import org.jeecg.modules.car.entity.CarMerchant;
import org.jeecg.modules.car.entity.CarMerchantOrder;
import org.jeecg.modules.car.entity.CarPayNotify;

import java.util.List;

/**
 * @Description: 商户充值明细
 * @Author: jeecg-boot
 * @Date:   2020-10-21
 * @Version: V1.0
 */
public interface ICarMerchantOrderService extends IService<CarMerchantOrder> {

    Integer carPayNotify(CarPayNotify stu);

    List<CarMerchantOrder> findByMerChantById(String merchantId);

    List<CarMerchantOrder> findPage(Page<CarMerchantOrder> page, CarMerchantOrder carMerchantOrder);

    Result refund(CarMerchantOrder carMerchantOrder);

    List<CarDayReportRespVo> findGroupList(CarDayReportReqVo carDayReportReqVo);

    List<CarMerchantOrder> findMerchantOrderList(Page<CarMerchantOrder> page, CarMerchant carMerchant);
}
